package com.daqn.controller;

import com.daqn.pojo.User;
import com.sun.org.apache.bcel.internal.generic.PUSH;
import org.springframework.http.HttpRequest;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;

@Controller
public class SpringMVC {

    @GetMapping("spring")
    public String spring(HttpServletRequest request) {
        request.getParameter("account");
        return "spring";
    }
}
